Extensions of nominal terms

نویسنده

  • Dominic P. Mulligan
چکیده

This thesis studies two major extensions of nominal terms. In particular, we study an extension with λ-abstraction over nominal unknowns and atoms, and an extension with an arguably better theory of freshness and α-equivalence. Nominal terms possess two levels of variable: atoms a represent variable symbols, and unknowns X are ‘real’ variables. As a syntax, they are designed to facilitate metaprogramming; unknowns are used to program on syntax with variable symbols. Originally, the role of nominal terms was interpreted narrowly. That is, they were seen solely as a syntax for representing partially-specified abstract syntax with binding. The main motivation of this thesis is to extend nominal terms so that they can be used for metaprogramming on proofs, programs, etc. and not just for metaprogramming on abstract syntax with binding. We therefore extend nominal terms in two significant ways: adding λ-abstraction over nominal unknowns and atoms— facilitating functional programing—and improving the theory of α-equivalence that nominal terms possesses. Neither of the two extensions considered are trivial. The capturing substitution action of nominal unknowns implies that our notions of scope, intuited from working with syntax possessing a non-capturing substitution, such as the λ-calculus, is no longer applicable. As a result, notions of λ-abstraction and α-equivalence must be carefully reconsidered. In particular, the first research contribution of this thesis is the two-level λcalculus, intuitively an intertwined pair of λ-calculi. As the name suggests, the two-level λ-calculus has two level of variable, modelled by nominal atoms and unknowns, respectively. Both levels of variable can be λ-abstracted, and requisite notions of β-reduction are provided. The result is an expressive context-calculus. The traditional problems of handling α-equivalence and the failure of commutation between instantiation and β-reduction in context-calculi are handled through the use of two distinct levels of variable, swappings, and freshness side-conditions on unknowns, i.e. ‘nominal technology’. The second research contribution of this thesis is permissive nominal terms, an alternative form of nominal term. They retain the ‘nominal’ first-order flavour of nominal terms (in fact, their grammars are almost identical) but forego the use of explicit freshness contexts. Instead, permissive nominal terms label unknowns with a permission sort, where permission sorts are infinite and coinfinite sets of atoms. This infinite-coinfinite nature means that permissive nominal terms recover two properties—we call them the ‘always-fresh’ and ‘always-rename’ properties— that nominal terms lack. We argue that these two properties bring the theory of α-equivalence on permissive nominal terms closer to ‘informal practice’. The reader may consider λ-abstraction and α-equivalence so familiar as to be ‘solved problems’. The work embodied in this thesis stands testament to the fact that this isn’t the case. Considering λ-abstraction and α-equivalence in the context of two levels of variable poses some new and interesting problems and throws light on some deep questions related to scope and binding.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A dependent nominal type theory

Nominal abstract syntax is an approach to representing names and binding pioneered by Gabbay and Pitts. So far nominal techniques have mostly been studied using classical logic or model theory, not type theory. Nominal extensions to simple, dependent and ML-like polymorphic languages have been studied, but decidability and normalization results have only been established for simple nominal type...

متن کامل

L2 Learners' Acquisition of English Nominal Clauses: Effects of Textual Enhancement, Metalinguistic Explanation, and Self-Regulation

This study aimed to investigate the impact of textual enhancement and metalinguistic explanation as focus-on-form tasks tending to encourage the acquisition of nominal clauses (NCs) in English. It explored (a) whether textual enhancement and metalinguistic explanation would promote and enhance the knowledge of NCs, (b) whether these two tasks would differ in terms of enhancing learners' knowled...

متن کامل

Cut - free Display Calculi for Nominal Tense

We deene cut-free display calculi for nominal tense logics extending the minimal nominal tense logic (MNTL) by addition of primitive axioms. To do so, we use a translation of MNTL into the minimal tense logic of inequality (MTL6 =) which is known to be properly displayable by application of Kracht's results. The rules of the display calculus MNTL for MNTL mimic those of the display calculus MTL...

متن کامل

Some new extensions of Hardy`s inequality

In this study, by a non-negative homogeneous kernel k we prove some extensions of Hardy's inequalityin two and three dimensions

متن کامل

Permissive nominal terms and their unification

We introduce permissive nominal terms. Nominal terms extend first-order terms with binding. They lack properties of firstand higher-order terms: Terms must be reasoned on in a context of ‘freshness assumptions’; it is not always possible to ‘choose a fresh variable symbol’ for a nominal term; and it is not always possible to ‘alpha-convert a bound variable symbol’. Permissive nominal terms reco...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011